package org.arch_learn.rpc.nz_rpc.annos;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

@Documented
//添加spring的@Component注解是为了可以让spring扫描到，并且实例化到ioc容器
@Component
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface RpcService {
}
